home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / Think Class Libraries / Waste TCL r2 / CWASTEDlgText.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-30  |  1.4 KB  |  51 lines  |  [TEXT/KAHL]

  1. /******************************************************************************
  2.  CWASTEDlgText.c
  3.  
  4.     A class with some of the functionality of CDialogText, but using CWASTEText
  5.  
  6.  ******************************************************************************/
  7.  
  8.  
  9. #pragma once
  10.  
  11. #include "CWASTEText.h"
  12.  
  13. #include "CDialogText.h" // to get enum for dialogTextChanged
  14.  
  15. class CDialog;
  16.  
  17. class CWASTEDlgText : public CWASTEText
  18. {
  19. public:
  20.     TCL_DECLARE_CLASS
  21.  
  22.     CWASTEDlgText();
  23.     CWASTEDlgText(CView *anEnclosure, CView *aSupervisor,
  24.                             short aWidth, short aHeight,
  25.                             short aHEncl, short aVEncl,
  26.                             SizingOption aHSizing = sizFIXEDSTICKY,
  27.                             SizingOption aVSizing = sizFIXEDSTICKY,
  28.                             short aLineWidth = -1, Boolean aScrollHoriz = 0,
  29.                             Boolean aIsRequired = FALSE, long aMaxValidLength = MAXLONG,
  30.                             Boolean aValidateOnResign = TRUE);
  31.     virtual ~CWASTEDlgText();
  32.  
  33.     void         IWASTEDlgText(CView *anEnclosure, CView *aSupervisor,
  34.                     short aWidth, short aHeight,
  35.                     short aHEncl, short aVEncl,
  36.                     SizingOption aHSizing, SizingOption aVSizing,
  37.                     short aLineWidth);
  38.  
  39.     virtual void     IViewTemp(CView *anEnclosure, CBureaucrat *aSupervisor,
  40.                             Ptr viewData);
  41.  
  42.     virtual void     DoKeyDown(char theChar, Byte keyCode, EventRecord *macEvent);
  43.     virtual void     GetTextString(StringPtr aString);
  44.     virtual void     PerformEditCommand(long theCommand);
  45.     
  46. protected:
  47.  
  48.     void             IWASTEDlgTextX();
  49.     virtual void     MakeBorder();
  50. };
  51.